<html>
<head>
<title>Diamond Web index</title>
</head>
<body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
<link rel="stylesheet" href="css/thickbox.css" type="text/css" media="screen">
<center>
<?php
error_reporting(0);
session_start();
if(isset($_COOKIE['username'])){
echo '<a href="logout.php?TB_inframe=true" class="thickbox" title="Logout">Logout!</a>';
}else{
echo '<a href="login.php?TB_iframe=true" class="thickbox" title="Login">Please login!</a><br>';
}
?>
</center>
</body>
</html>